/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.incad.psh.pshassign.client.json;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArrayString;

public class ResultDoc extends JavaScriptObject {

    protected ResultDoc() { } 
    public final native String getId()  /*-{ return this.id;  }-*/;
    public final native String getTitle()  /*-{ return this.title;  }-*/;
    public final native String getLabel()  /*-{ return this.csPrefLabel[0];  }-*/; 
    public final native String getUri()  /*-{ return this.uri;  }-*/;
    public final native float getScore()  /*-{ return this.score;  }-*/;
    public final native String getField(String field)  /*-{ return this[field];  }-*/;  
    public final native JsArrayString getFieldArray(String field)  /*-{ return this[field];  }-*/;    
}
